﻿Imports System.ServiceModel
Imports PowerShellCron.DataContract
Imports PowerShellCron.ServiceContract

<ServiceBehavior(ConcurrencyMode:=ConcurrencyMode.Single, InstanceContextMode:=InstanceContextMode.Single, Namespace:="PowerShellCron")>
Public Class ManageService
    Implements IManageSvc

    Private ReadOnly Property User As System.Security.Principal.WindowsIdentity
        Get
            Return ServiceSecurityContext.Current.WindowsIdentity
        End Get
    End Property

#Region "Jobs"
    Public Function GetJob(jobId As Integer) As DataContract.Job Implements IManageSvc.GetJob
        Throw New NotImplementedException()
    End Function
    Public Function GetJobs(name As String, category As String, tags() As String) As ICollection(Of DataContract.Job) Implements IManageSvc.GetJobs
        Throw New NotImplementedException()
    End Function
    Public Sub ExecuteJob(name As String) Implements IManageSvc.ExecuteJob
        Throw New NotImplementedException()
    End Sub
    Public Sub ExecuteJob(jobId As Integer) Implements IManageSvc.ExecuteJob
        Throw New NotImplementedException()
    End Sub
    Public Sub SetJob(job As DataContract.Job) Implements IManageSvc.SetJob
        Throw New NotImplementedException()
    End Sub
    Public Sub RemoveJob(jobId As Integer) Implements IManageSvc.RemoveJob
        Throw New NotImplementedException()
    End Sub
#End Region
#Region "Scripts"
    Public Function GetScript(scriptId As Integer) As DataContract.Script Implements IManageSvc.GetScript
        Throw New NotImplementedException()
    End Function
    Public Function GetScripts(name As String, category As String, tags() As String) As ICollection(Of DataContract.Script) Implements IManageSvc.GetScripts
        Throw New NotImplementedException()
    End Function
    Public Sub ExecuteScript(name As String) Implements IManageSvc.ExecuteScript
        Throw New NotImplementedException()
    End Sub
    Public Sub ExecuteScript(scriptId As Integer) Implements IManageSvc.ExecuteScript
        Throw New NotImplementedException()
    End Sub
    Public Sub SetScript(script As DataContract.Script) Implements IManageSvc.SetScript
        Throw New NotImplementedException()
    End Sub
    Public Sub RemoveScript(scriptId As Integer) Implements IManageSvc.RemoveScript
        Throw New NotImplementedException()
    End Sub
#End Region
#Region "Categorization"
#End Region
#Region "Security"
    Public Sub RemoveSecurityUser(securityUserId As Integer) Implements IManageSvc.RemoveSecurityUser
        Throw New NotImplementedException()
    End Sub
    Public Sub SetSecurityUser(data As DataContract.SecurityUser) Implements IManageSvc.SetSecurityUser
        Throw New NotImplementedException()
    End Sub
    Public Function GetSecurityUser(name As String) As DataContract.SecurityUser Implements IManageSvc.GetSecurityUser
        Throw New NotImplementedException()
    End Function
    Public Function GetSecurityUsers() As ICollection(Of DataContract.SecurityUser) Implements IManageSvc.GetSecurityUsers
        Throw New NotImplementedException()
    End Function
#End Region

End Class
